home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d2 / wsortho1.arc / DEMO4K.BAT < prev    next >
DOS Batch File  |  1991-06-13  |  6KB  |  139 lines

  1. text line 20 sample 1 'Welcome to a demonstration of'.
  2. text line 45 sample 1 'digital orthophotographic imagery.'.
  3. text line 150 sample 50 'Just sit back and enjoy !!!'.
  4. text line 250 sample 50 'Produced by Bob Gurda'.
  5. text line 275 sample 80 'Wis. State Cartographer's Office'.
  6. text line 300 sample 110 ' April, 1991'
  7. text line 375 sample 1 'Press the ENTER key to start.'.
  8. cursor
  9. erase
  10. text line 20 sample 1 'An orthophotograph is much like an'.
  11. text line 45 sample 1 'aerial photograph, but with one'.
  12. text line 70 sample 1 'important difference:  the various'.
  13. text line 95 sample 1 'types of distortions normally found'.
  14. text line 120 sample 1 'in the aerial photograph have been'.
  15. text line 145 sample 1 'removed by a special process.  The'.
  16. text line 170 sample 1 'result is a photographic image that'.
  17. text line 195 sample 1 'can be used as a map---for measuring'.
  18. text line 220 sample 1 'distances, angles, and areas'.
  19. text line 265 sample 1 'An orthophotograph can be printed on'.
  20. text line 290 sample 1 'paper or photo film.  Or it can be'.
  21. text line 320 sample 1 'scanned into computerized form'.
  22. text line 380 sample 50 'Press the ENTER key to continue'.
  23. cursor
  24. erase
  25. text line 20 sample 1 'A digital image is based on a computer'.
  26. text line 45 sample 1 'file that represents a grid of cells.'.
  27. text line 90 sample 1 'The image you'll be seeing in this demo'.
  28. text line 115 sample 1 'is made of 1 million cells.  The cells'.
  29. text line 140 sample 1 'are arranged as 1000 rows, each row'.
  30. text line 165 sample 1 'containing 1000 cells.  Since each cell'.
  31. text line 190 sample 1 'represents an area about 4 X 4 meters on'.
  32. text line 215 sample 1 'the ground, the area shown is about 4 X 4'.
  33. text line 240 sample 1 'kilometers, or about 6 square miles.'.
  34. text line 320 sample 50 'Press the ENTER key to continue.'.
  35. cursor
  36. erase
  37. set dn lo 0 hi 191
  38. text line 20 sample 1 'First we'll look at the entire image'.
  39. text line 60 sample 1 'Since it won't fit on a VGA screen at'.
  40. text line 85 sample 20 'full resolution, we'll only be seeing'.
  41. text line 110 sample 20 'every third cell in every third row'.
  42. text line 250 sample 50 'Press the ENTER key for the display'.
  43. text line 350 sample 1 '(Note:  do not press the ENTER key while'.
  44. text line 375 sample 1'images are being drawn on the screen. 
  45. Doing'.
  46. text line 400 sample 1 'so will cause this demo program to stop).'.
  47. cursor
  48. erase
  49. disp sub 3
  50. text line 20 sample 350 'This scene shows the'.
  51. text line 45 sample 350 'area near the village'.
  52. text line 70 sample 350 'of Black Earth, WI.'
  53. text line 360 sample 1 'Use the arrow keys to position the cursor'.
  54. text line 385 sample 20 'over a place that looks interesting'.
  55. text line 410 sample 50 '...then press the ENTER key to continue'.
  56. cursor
  57. erase
  58. text line 20 sample 1 'Next you'll see some of the cells that'.
  59. text line 45 sample 1 'make up the image.  Each cell has a'.
  60. text line 70 sample 1 'gray level value between 0-255.'
  61. text line 360 sample 50 '...press the ENTER key to continue'.
  62. cursor
  63. erase
  64. disp center zoom 4
  65. text line 410 sample 50 '...Press the ENTER key to continue.'
  66. cursor
  67. erase
  68. text line 20 sample 1 'You will next see an enlarged area'.
  69. text line 45 sample 1 'around the image point you selected'.
  70. text line 80 sample 1 'This will be shown at full resolution.'.
  71. text line 250 sample 50 'Press the ENTER key to proceed'.
  72. cursor
  73. erase
  74. disp center zoom 2
  75. text line 330 sample 50 'Press the ENTER key to continue'.
  76. cursor
  77. erase
  78. text line 20 sample 1 'The final part of this demo shows how'.
  79. text line 45 sample 1 'the 256 levels of gray encoded in the'.
  80. text line 70 sample 1 'digital image file can be selectively'.
  81. text line 95 sample 1 'displayed.  Since a VGA computer monitor'.
  82. text line 120 sample 1 'can only show 16 levels of gray, we'.
  83. text line 145 sample 1 'have to compress, or categorize'.
  84. text line 170 sample 1 'ranges of grays in the digital file when'.
  85. text line 195 sample 1 'we want to view the entire range of grays'.
  86. text line 220 sample 1 'In doing so, useful information may not'.
  87. text line 245 sample 1 'be visible on the screen.  The solution'.
  88. text line 270 sample 1 'to this problem is to "slice" the image'.
  89. text line 295 sample 1 'into gray ranges, and view each slice '.
  90. text line 320 sample 1 'separately.'
  91. text line 390 sample 50 '...Press the ENTER key to continue'.
  92. cursor
  93. erase
  94. text line 20 sample 1 'In the following set of images, notice'.
  95. text line 45 sample 1 'that some features (woods, fields, '.
  96. text line 70 sample 1 'roads, streams, roofs) appear in some'.
  97. text line 95 sample 1 'of the gray level slices, but not in'.
  98. text line 120 sample 1 'others.  This is because these different'.
  99. text line 145 sample 1 'objects have different ranges of gray,'.
  100. text line 170 sample 1 'as seen by the camera in the airplane.'
  101. text line 330 sample 50 '...Press the ENTER key to continue.'
  102. cursor
  103. erase
  104. set dn lo 0 hi 31
  105. disp center
  106. set dn lo 15 hi 47
  107. disp center
  108. set dn lo 31 hi 63
  109. disp center
  110. set dn lo 47 hi 79
  111. disp center
  112. set dn lo 63 hi 95
  113. disp center
  114. set dn lo 79 hi 111
  115. disp center
  116. set dn lo 95 hi 127
  117. disp center
  118. set dn lo 111 hi 143
  119. disp center
  120. set dn lo 127 hi 159
  121. disp center
  122. set dn lo 0 hi 191
  123. disp center
  124. text line 400 sample 50 '...Press the ENTER key to continue'
  125. cursor
  126. erase
  127. text line 20 sample 1 'This completes the demo.'.
  128. text line 60 sample 1 'To run this demo again, wait until'.
  129. text line 85 sample 1 'the last image is displayed.  Then'.
  130. text line 110 sample 1 'Press the ENTER key to repeat.'.
  131. text line 160 sample 1 'To leave this demo without the repeat,'.
  132. text line 185 sample 1 'Press the ENTER key while the last'.
  133. text line 210 sample 1 'image is being drawn.'
  134. text line 330 sample 50 '...Press the ENTER key to continue'.
  135. cursor
  136. erase
  137. disp sub 3
  138. batch demo4k.bat
  139.